package com.demo.app.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 控制器
 * </p>
 *
 * @author zhangxt
 * @date 2023/10/23
 */
@RestController
public class DemoController {

    @RequestMapping("/login")
    public String show() {
        return "login";
    }

    @RequestMapping("/show")
    public String login() {
        return "Demo";
    }

}
